//
//  MYheaderfooter.swift
//  groupTaskTwo
//
//  Created by 向银泉 on 16/11/3.
//  Copyright © 2016年 向银泉. All rights reserved.
//

import UIKit
protocol MYheaderfooterdelegate {
    func btnAction()
}
class MYheaderfooter: UITableViewHeaderFooterView {
    var delegate:MYheaderfooterdelegate?
    @IBOutlet weak var loginInImageView: UIImageView!
    @IBOutlet weak var separtLineView: UIView!
    @IBOutlet weak var loginButton: UIButton!
    @IBOutlet weak var registerImageView: UIImageView!
    @IBOutlet weak var registerButton: UIButton!
    
    @IBAction func LoginButtonAction(sender: AnyObject) {
        delegate?.btnAction()
    }
    
    @IBAction func RegisterButtonAction(sender: AnyObject) {
        delegate?.btnAction()
    }
    
    
    
    
    
}
